<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/5/7
  Time: 20:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>3-15</title>
</head>
<body>
<%
    request.setCharacterEncoding("UTF-8");
    String s;
    s=request.getParameter("user");
    byte[]b=s.getBytes("ISO-8859-1");
    s=new String(b);
    session.setAttribute("name",s);
%>
<form method="post"action="3-16.jsp" name="form">
    <<input type="text" name="buy" size="18">
    <input type="submit" value="提交" name="submit">
</form>
</body>
</html>
